package com.lmk.ms.common.dto.tp;

import com.lmk.ms.common.constants.TpType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 三方平台用户信息
 *
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2022/02/20
 */
@Data
@Schema(description = "三方平台用户信息")
public class TpUserInfo {

    @Schema(description = "三方平台类型")
    private TpType type;

    @Schema(description = "openId")
    private String openId;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "-1.未知, 0.女性，1.男性")
    private Integer gender;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "头像")
    private String avatar;
}
